import { createApp } from "vue";
import "./style.css";
import App from "./App.vue";
import ArcoVue from "@arco-design/web-vue";
import "@arco-design/web-vue/dist/arco.less";
import ArcoVueIcon from "@arco-design/web-vue/es/icon";
import router from "./router";
import { Message } from "@arco-design/web-vue";
import print from "vue3-print-nb";
import VueDraggableResizable from "vue-draggable-resizable";

const app = createApp(App);
Message._context = app._context;
app
  .use(router)
  .component("vue-draggable-resizable", VueDraggableResizable)
  .use(ArcoVue)
  .use(ArcoVueIcon)
  .use(print)
  .mount("#app");
